﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace PauloC.DAL
{
    [Table("Usuario")]
    public class UsuarioDB
    {
        [Key]
        public int Id { get; set; }
        [Required]
        public string Nome { get; set; }
        [Required]
        public string Login { get; set; }
        [Required]
        public string Senha { get; set; }
        public string Email { get; set; }
        public virtual TipoUsuarioDB Tipo { get; set;} 
        public DateTime DataCadastro { get; set;}
        
    }
}
